﻿CREATE TABLE [steve].[ContentCategory] (
    [ContentId]    UNIQUEIDENTIFIER NOT NULL,
    [CategoryName] VARCHAR (50)     NOT NULL,
	[CreateDate] datetime2(7) not null,
	[CreateMembershipId] uniqueidentifier null,
	[DeleteDate] datetime2(7) null,
	[DeleteMembershipId] uniqueidentifier null
);


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'This table contains a many to many mapping of content to categories.', @level0type = N'SCHEMA', @level0name = N'steve', @level1type = N'TABLE', @level1name = N'ContentCategory';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Link to Content table', @level0type = N'SCHEMA', @level0name = N'steve', @level1type = N'TABLE', @level1name = N'ContentCategory', @level2type = N'COLUMN', @level2name = N'ContentId';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Link to Category table', @level0type = N'SCHEMA', @level0name = N'steve', @level1type = N'TABLE', @level1name = N'ContentCategory', @level2type = N'COLUMN', @level2name = N'CategoryName';

